package com.maiji.cloud.request.login;

import java.util.Date;

import org.springframework.beans.factory.annotation.Autowired;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain = true)
public class UpdateUserInfoReqDto {

	@Autowired
	private UpdateUserInfoReqData data;

	@NoArgsConstructor
	@Data
	@Accessors(chain = true)
	public class UpdateUserInfoReqData {
		private String maijiToken; //

		@ApiModelProperty(value = "昵称")
		private String nickName; // 昵称

		@ApiModelProperty(value = "头像")
		private String headUrl; // 头像

		@ApiModelProperty(value = "个人主页背景图片")
		private String mainPageUrl; // 个人主页背景图片

		@ApiModelProperty(value = "省")
		private String province;

		@ApiModelProperty(value = "市")
		private String city;

		@ApiModelProperty(value = "区/县")
		private String county;

		@ApiModelProperty(value = "详细地址")
		private String detailAddress; // 详细地址

		@ApiModelProperty(value = "性别 0:女，1:男")
		private Integer sex; // 0:女，1:男

		@ApiModelProperty(value = "体重")
		private String weight; // 体重

		@ApiModelProperty(value = "体脂率")
		private String bodyFatRate; // 体脂率

		@ApiModelProperty(value = "出生日期")
		private Date birth;

		@ApiModelProperty(value = "身高")
		private String height;

		@ApiModelProperty(value = "阶段")
		private Integer stage;

		@ApiModelProperty(value = "天数")
		private Integer day;

		@ApiModelProperty(value = "目标体重")
		private String targetWeight; // 目标体重
	}

}
